//统一接口返回格式
// let Response = function(code, result, msg) {
//     this.code = code;
//     this.result = result;
//     this.msg = msg;
// };

//统一接口返回格式
class Response {
    //构造函数
    constructor(code, result, msg) {
        this.code = code;
        this.result = result;
        this.msg = msg;
    }
}

module.exports = Response;